<?php

/**
 *
 * @SWG\Get(
 *     path="/log/login",
 *     tags={"log"},
 *     summary="获取所有登录日志",
 *     description="获取所有登录日志（成功示例请执行）",
 *     produces={"application/json"},
 *     @SWG\Parameter(
 *        in = "header",
 *        name = "X-Api-Token",
 *        description = "token",
 *        required = true,
 *        type = "string"
 *     ),
 *     @SWG\Parameter(
 *        name = "startTime",
 *        description = "开始时间",
 *        in = "path",
 *        type = "integer",
 *        required = false
 *    ),
 *      @SWG\Parameter(
 *        name = "endTime",
 *        description = "结束时间",
 *        in = "path",
 *        type = "integer",
 *        required = false
 *    ),
 *
 *     @SWG\Response(
 *         response = 200,
 *         description = "success",
 *         @SWG\Schema(ref="#/definitions/SuccessDefault")
 *     ),
 *
 *     @SWG\Response(
 *         response = 400,
 *         description = "请求失败， http code 强行转为200,通过code判断",
 *         @SWG\Schema(ref="#/definitions/ErrorDefault")
 *     )
 * )
 */

/**
 *
 * @SWG\Get(
 *     path="/log/operation",
 *     tags={"log"},
 *     summary="获取所有操作日志",
 *     description="获取日志记录列表（成功示例请执行）",
 *     produces={"application/json"},
 *     @SWG\Parameter(
 *        in = "header",
 *        name = "X-Api-Token",
 *        description = "token",
 *        required = true,
 *        type = "string"
 *     ),
 *     @SWG\Parameter(
 *        name = "startTime",
 *        description = "开始时间",
 *        in = "path",
 *        type = "integer",
 *        required = false
 *    ),
 *      @SWG\Parameter(
 *        name = "endTime",
 *        description = "结束时间",
 *        in = "path",
 *        type = "integer",
 *        required = false
 *    ),
 *
 *     @SWG\Response(
 *         response = 200,
 *         description = "success",
 *         @SWG\Schema(ref="#/definitions/SuccessDefault")
 *     ),
 *
 *     @SWG\Response(
 *         response = 400,
 *         description = "请求失败， http code 强行转为200,通过code判断",
 *         @SWG\Schema(ref="#/definitions/ErrorDefault")
 *     )
 * )
 */

/**
 *
 * @SWG\Get(
 *     path="/log/telnet",
 *     tags={"log"},
 *     summary="获取所有远程登录日志",
 *     description="获取远程登录记录列表（成功示例请执行）",
 *     produces={"application/json"},
 *     @SWG\Parameter(
 *        in = "header",
 *        name = "X-Api-Token",
 *        description = "token",
 *        required = true,
 *        type = "string"
 *     ),
 *     @SWG\Parameter(
 *        name = "startTime",
 *        description = "开始时间",
 *        in = "path",
 *        type = "integer",
 *        required = false
 *    ),
 *      @SWG\Parameter(
 *        name = "endTime",
 *        description = "结束时间",
 *        in = "path",
 *        type = "integer",
 *        required = false
 *    ),
 *
 *     @SWG\Response(
 *         response = 200,
 *         description = "success",
 *         @SWG\Schema(ref="#/definitions/SuccessDefault")
 *     ),
 *
 *     @SWG\Response(
 *         response = 400,
 *         description = "请求失败， http code 强行转为200,通过code判断",
 *         @SWG\Schema(ref="#/definitions/ErrorDefault")
 *     )
 * )
 */

/**
 * --- .add remote login start ---
 * @SWG\Post(
 *    path="/remote_login_log",
 *    tags={"log"},
 *    summary="添加远程登录日志",
 *    description="添加远程登录日志",
 *    produces={"application/json"},
 *     consumes={"application/x-www-form-urlencoded", "application/json"},
 *
 *    @SWG\Parameter(
 *        in = "header",
 *        name = "X-Api-Token",
 *        description = "token",
 *        required = true,
 *        type = "string"
 *     ),
 *
 *
 *    @SWG\Parameter(
 *        name = "ip",
 *        description = "ip",
 *        in = "formData",
 *        type = "string",
 *        required = true
 *    ),
 *
 *
 *    @SWG\Response(
 *        response = "200",
 *        description = "success",
 *        @SWG\Schema(ref="#/definitions/SuccessDefault")
 *    ),
 *
 *    @SWG\Response(
 *        response = "default",
 *        description = "请求失败， http status 强行转为200, 通过code判断",
 *        @SWG\Schema(ref="#/definitions/ErrorDefault")
 *    )
 * )
 * --- .add remote login  end ---
 */

/**
 * --- .query_log start ---
 * @SWG\Get(
 *    path="/query_log",
 *    tags={"log"},
 *    summary="根据ip或者时间查log",
 *    description="根据ip或者时间查log",
 *    produces={"application/json"},
 *     consumes={"application/x-www-form-urlencoded", "application/json"},
 *
 *     @SWG\Parameter(
 *        in = "header",
 *        name = "X-Api-Token",
 *        description = "token",
 *        required = true,
 *        type = "string"
 *     ),
 *
 *
 *    @SWG\Parameter(
 *        name = "ip",
 *        description = "ip",
 *        in = "path",
 *        type = "string",
 *        required = true
 *    ),
 *
 *    @SWG\Parameter(
 *        name = "module",
 *        description = "模块名 测试值'Example'",
 *        in = "path",
 *        type = "string",
 *        required = false
 *    ),
 *     @SWG\Parameter(
 *        name = "startTime",
 *        description = "开始时间",
 *        in = "path",
 *        type = "integer",
 *        required = false
 *    ),
 *      @SWG\Parameter(
 *        name = "endTime",
 *        description = "结束时间",
 *        in = "path",
 *        type = "integer",
 *        required = false
 *    ),
 *      @SWG\Parameter(
 *        name = "page",
 *        description = "currentPage",
 *        in = "path",
 *        type = "integer",
 *        required = false
 *    ),
 *     @SWG\Parameter(
 *        name = "per-page",
 *        description = "pageSize",
 *        in = "path",
 *        type = "integer",
 *        required = false
 *    ),
 *
 *
 *    @SWG\Response(
 *        response = "200",
 *        description = "success",
 *        @SWG\Schema(ref="#/definitions/SuccessDefault")
 *    ),
 *
 *    @SWG\Response(
 *        response = "default",
 *        description = "请求失败， http status 强行转为200, 通过code判断",
 *        @SWG\Schema(ref="#/definitions/ErrorDefault")
 *    )
 * )
 * --- .log end ---
 */

/**
 * --- .query_runtime start ---
 * @SWG\Post(
 *    path="/query_runtime",
 *    tags={"log"},
 *    summary="根据ip或者时间查runtime（没有用到）",
 *    description="根据ip或者时间查runtime（没有用到）",
 *    produces={"application/json"},
 *     consumes={"application/x-www-form-urlencoded", "application/json"},
 *
 *     @SWG\Parameter(
 *        in = "header",
 *        name = "X-Api-Token",
 *        description = "token",
 *        required = true,
 *        type = "string"
 *     ),
 *
 *
 *    @SWG\Parameter(
 *        name = "ip",
 *        description = "ip",
 *        in = "formData",
 *        type = "string",
 *        required = true
 *    ),
 *     @SWG\Parameter(
 *        name = "startTime",
 *        description = "开始时间",
 *        in = "formData",
 *        type = "integer",
 *        required = false
 *    ),
 *      @SWG\Parameter(
 *        name = "endTime",
 *        description = "结束时间",
 *        in = "formData",
 *        type = "integer",
 *        required = false
 *    ),
 *
 *
 *    @SWG\Response(
 *        response = "200",
 *        description = "success",
 *        @SWG\Schema(ref="#/definitions/SuccessDefault")
 *    ),
 *
 *    @SWG\Response(
 *        response = "default",
 *        description = "请求失败， http status 强行转为200, 通过code判断",
 *        @SWG\Schema(ref="#/definitions/ErrorDefault")
 *    )
 * )
 * --- .runtime end ---
 */
